CC = g++ -g

LFLAGS = -lGL -lGLU -lSDL -L../lib -lMRMesh -ld_Lib -lim
CFLAGS = -g -I../imlib -I../d_Lib

.c.o:
	$(CC) $(CFLAGS) -c $<

.cc.o:
	$(CXX) $(CFLAGS) -c $<

PROG = pads_loader

OBJECTS =  main.o

all:$(PROG)

$(PROG) : $(OBJECTS)
	$(CC) $(OBJECTS) -o $(PROG) $(LFLAGS)
install: 
	mv $(PROG) ../bin

clean:
	-rm -rf *~ *bak *.o $(PROG)
